@extends('admin.common.list.list')
@section('content')
	<div class="mws-panel grid_8">
    <div class="mws-panel-header">
        <span><i class="icon-table"></i>店铺申请详情
    </div>
    <div class="mws-panel-body no-padding">
        <form class="mws-form" action="/admin/aptitude" method="post">
            {{ csrf_field() }}
            <div class="mws-form-inline">
                <input type="hidden" name="id" value="{{$apt['id']}}">
                <div class="mws-form-row">
                    <label class="mws-form-label">申请人姓名</label>
                    <div class="mws-form-item">
                        <input type="text" class="small" name="name" value="{{$apt['ap_name']}}" readonly>
                    </div>
                </div>
                <div class="mws-form-row">
                    <label class="mws-form-label">申请人年龄</label>
                    <div class="mws-form-item">
                        <input type="text" class="small" name="age" value="{{$apt['ap_age']}}" readonly>
                    </div>
                </div>
                <div class="mws-form-row">
                    <label class="mws-form-label">申请人电话</label>
                    <div class="mws-form-item">
                        <input type="text" class="small" name="phone" value="{{$apt['ap_phone']}}" readonly>
                    </div>
                </div>
                <div class="mws-form-row">
                    <label class="mws-form-label">申请人身份证号码</label>
                    <div class="mws-form-item">
                        <input type="text" class="small" name="number" value="{{$apt['ap_number']}}" readonly>
                    </div>
                </div>
                <div class="mws-form-row">
                    <label class="mws-form-label">店铺名称</label>
                    <div class="mws-form-item">
                        <input type="text" class="small" name="business" value="{{$apt['ap_business']}}" readonly>
                    </div>
                </div>
                <div class="mws-form-row">
                    <label class="mws-form-label">营业执照</label>
                    <div class="mws-form-item">
                        <input type="text" class="small" name="license" value="{{$apt['ap_license']}}" readonly>
                    </div>
                </div>
                <div class="mws-form-row">
                    <label class="mws-form-label">卫生许可证</label>
                    <div class="mws-form-item">
                        <input type="text" class="small" name="permit" value="{{$apt['ap_permit']}}" readonly>
                    </div>
                </div>
                
            </div>
            <div class="mws-button-row" style="width:200px;float:left;">
                <input type="submit" value="通过审核" class="btn btn-info">
            </div>
        </form>
        <div class="mws-button-row" style="width:781px;height:63px;float:left;background:#d2d2d2;line-height:63px;">
                <a href="/fail?id={{$apt['id']}}"><button class="btn btn-danger">未过审核</button></a>
        </div>
        
    </div>      
</div>
@endsection